<?php
namespace app\controller;

use think\facade\View;
use app\model\ADdnsIpRuleServerApi;
use PhpOffice\PhpSpreadsheet\Spreadsheet;
use PhpOffice\PhpSpreadsheet\Writer\Xlsx;
 
 class Templates
 {
     public function home()
     { 
         return View::fetch('home');
     }  
     public function users()
     { 
         return View::fetch('users');
     }  
     // 继续重写其他方法，使用模型类替换数据库操作
 }
 